package org.aswing;

extern class AWSprite extends flash.display.Sprite {
	function new(?p0 : Bool) : Void;
	function bringToBottom(p0 : flash.display.DisplayObject) : Void;
	function bringToTop(p0 : flash.display.DisplayObject) : Void;
	function containsChild(p0 : flash.display.DisplayObject) : Bool;
	function getHighestIndexUnderForeground() : Int;
	function getLowestIndexAboveBackground() : Int;
	function isClipMasked() : Bool;
	function setClipMasked(p0 : Bool) : Void;
	private var d_numChildren(default,null) : Int;
	private function d_addChild(p0 : flash.display.DisplayObject) : flash.display.DisplayObject;
	private function d_addChildAt(p0 : flash.display.DisplayObject, p1 : Int) : flash.display.DisplayObject;
	private function d_getChildAt(p0 : Int) : flash.display.DisplayObject;
	private function d_getChildByName(p0 : String) : flash.display.DisplayObject;
	private function d_getChildIndex(p0 : flash.display.DisplayObject) : Int;
	private function d_removeChild(p0 : flash.display.DisplayObject) : flash.display.DisplayObject;
	private function d_removeChildAt(p0 : Int) : flash.display.DisplayObject;
	private function d_setChildIndex(p0 : flash.display.DisplayObject, p1 : Int) : Void;
	private function d_swapChildren(p0 : flash.display.DisplayObject, p1 : flash.display.DisplayObject) : Void;
	private function d_swapChildrenAt(p0 : Int, p1 : Int) : Void;
	private function getBackgroundChild() : flash.display.DisplayObject;
	private function getForegroundChild() : flash.display.DisplayObject;
	private function isChild(p0 : flash.display.DisplayObject) : Bool;
	private function setBackgroundChild(?p0 : flash.display.DisplayObject) : Void;
	private function setClipMaskRect(p0 : org.aswing.geom.IntRectangle) : Void;
	private function setForegroundChild(?p0 : flash.display.DisplayObject) : Void;
}
